package com.meta.platform.login.plus.vcode.rest.req;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 找回密码
 *
 * @author pengjianfeng
 * @version 1.0
 * @date 2021/1/12 5:40 下午
 */
@Data
@ApiModel(description = "找回密码")
public class FindPasswordCmd {
    
    @ApiModelProperty(notes = "手机号码")
    @NotBlank(message = "手机号码不能为空")
    private String phoneNumber;
    
    @ApiModelProperty(notes = "短信验证码")
    @NotBlank(message = "短信验证码不能为空")
    private String vCode;
    
    @ApiModelProperty(notes = "新密码")
    @NotBlank(message = "新密码不能为空")
    private String newPassword;
    
    @ApiModelProperty(notes = "确认密码")
    @NotBlank(message = "确认密码不能为空")
    private String confirmPassword;
}
